package com.redis.nxj.service;

import com.redis.nxj.pojo.User;

import java.util.List;

/**
 * @author ningxinjie
 * @date 2021/3/29
 */
public interface UserService {
    public int addUser(User user);

    public int delUserById(Integer id);

    public int updateUserById(User user);

    public List<User> queryAllUser();

    public User queryUserById(Integer id);
}
